package com.herui.ota.service;

import com.herui.ota.entity.User;
import com.herui.ota.pojo.form.WxUserForm;
import com.herui.ota.pojo.vo.UserVo;
import org.shan.base.layer.user.entity.UserAccount;
import org.shan.base.layer.user.service.IBaseService;
import org.springframework.transaction.annotation.Transactional;

/**
 * author name: amanda.shan
 * create time: 2020-05-19 13:13:54
 */ 
public interface UserService extends IBaseService<User> {

    /**
     * 更加用户用户名查找
     * @param username
     * @return
     */
    User findByUsername(String username);

    /**
     * 登入以后获取用户信息
     * @return
     */
    UserVo getUserInfo();

    /**
     * 获取用户数量
     * @return
     */
    Integer getUserSize();


}

